package com.jy.modules.cims.data.interact.tbj.loan.request;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @description 铜板街贷款审批结果Request。
 * @author shengzhoutao
 * @date 2015-09-07
 */
public class RequestAuditResultDTO {

	/** 唯一标识本次审批结果 **/
	@NotBlank(message = "审批结果唯一标示 streamId不能为空")
	@Size(min = 1, max = 30, message = "审批结果唯一标示 streamId长度必须在1-30之间")
	private java.lang.String streamId;

	/** 借款信息审批编号 */
	@NotBlank(message = "借款信息审批编号 loanNumber不能为空")
	@Size(min = 1, max = 50, message = "借款信息审批编号loanNumber长度必须在1-50之间")
	private java.lang.String loanNumber;

	/** 借款合同金额，单位元，精确到分 */
	//@NotNull(message = "借款合同金额 contractAmount不能为空")
	private BigDecimal contractAmount;

	/** 借款放款金额,单位元，精确到分 */
	//@NotNull(message = "借款放款金额 loanAmount不能为空")
	private BigDecimal loanAmount;

	/** 审批结果:通过-3; 未通过-1; 审批中0 */
	@NotNull(message = "审批结果 result不能为空")
	private Integer result;

	/** 借款审批完成时间，格式为yyyy-MM-dd HH:mm:ss */
	//@NotNull(message = "借款审批完成时间endTime不能为空")
	private java.util.Date endTime;

	public java.lang.String getStreamId() {
		return streamId;
	}

	public void setStreamId(java.lang.String streamId) {
		this.streamId = streamId;
	}

	public java.lang.String getLoanNumber() {
		return loanNumber;
	}

	public void setLoanNumber(java.lang.String loanNumber) {
		this.loanNumber = loanNumber;
	}

	public BigDecimal getContractAmount() {
		return contractAmount;
	}

	public void setContractAmount(BigDecimal contractAmount) {
		this.contractAmount = contractAmount;
	}

	public BigDecimal getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public Integer getResult() {
		return result;
	}

	public void setResult(Integer result) {
		this.result = result;
	}

	public java.util.Date getEndTime() {
		return endTime;
	}

	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}

}
